package com.feign.study.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * created by YDW
 */
@FeignClient("hello-service")
public interface FeignService {

    @GetMapping("/hello")
    String hello(@RequestParam(value = "name") String name);

}

